#ifndef BATTERY_MODULE_H
#define BATTERY_MODULE_H

#include <iostream>
using namespace std;
#include <string.h>
#include<fstream>

// 电池模块
class Battery_module
{
public:
    void setParameter(string _parameter);
    void setExternal_power_supply(int _external_power_supply);
    void setCharging_duration(int _charging_duration);

    void print ();
    void save (string path);


private:
    string parameter="24V/15Ah";
    int external_power_supply=24;
    int charging_duration=2;
};

#endif // BATTERY_MODULE_H
